using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace ColumnDatabase.Column
{
	class DoubleColumn : AbstractColumn<double>
	{
		public DoubleColumn(int index, string file) : base(index, file)
		{
		}

		internal override int FieldSize
		{
			get { return 8; }
		}


		internal override void SetValue(BinaryWriter bw, double value)
		{
			bw.Write(value);
		}

		internal override double GetValue(BinaryReader br)
		{
			return br.ReadDouble();
		}
	}
}